<?php
/*code here*/
$db = new Database();
$auth = Auth::getAuth('current_user');
if($auth['UserType'] != "Admin"){ header('Location: /home'); }
/*code here(end)*/
$this->setLayout();